package tech.daoxuan.configprocessor.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @ClassName Student
 * @Description TODO
 * @Author 10983
 * @Date 2019/7/21 14:16
 * @Version 1.0
 */
@Data
@Component
@ConfigurationProperties(prefix = "tech.daoxuan.loadconfig")
public class Student {

    private String name ="defa999";

    private String address;

    private int age = 9;

    private String label;

}
